home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Add-Ons
/
After Dark
/
ScreenFlip 1.5
/
Source
/
AD Shared Resources
/
HandyStuff.h
< prev
next >
Wrap
Text File
|
1995-12-05
|
755b
|
22 lines
/* HandyStuff.h -- Various useful functions
*/
#ifndef __HANDYSTUFF_H__
#define __HANDYSTUFF_H__
extern short RangedRdm (short min, short max);
extern Handle BestNewHandle (Size s);
extern Boolean XYInRect (Rect *r, short x, short y);
extern void DrawStringAt (short x, short y, Str255 str);
extern void CenterString (short y, StringPtr str);
extern void CenterRectHorizontal (Rect *r, short y);
extern void CenterRectVertical (Rect *r, short x);
extern void CenterRect (Rect *r, short x, short y);
extern void LineFromTo (short xFrom, short yFrom, short xTo, short yTo);
extern Boolean RandomBool (void);
extern void RedAlert (StringPtr theStr);
extern void SetPortTextStyle (TextStyle *style);
extern void GetPortTextStyle (TextStyle *style);
#endif